#{extends 'EmploymentAction/layout.html' /}

<div id="crudList" class="">

    <h2 id="crudListTitle">信息管理</h2>

    <div id="crudListTable">
     <table>
       <thead>
         <tr>
           <th>信息标题</th>
           <th>信息代码</th>
           <th>所属栏目</th>
           <th>发布人</th>
           <th>发布时间</th>
           <th>操作</th>
         </tr>
       </thead>
     #{if flash.success}
	   <tr>
	    <td colspan="6" style="text-align: center">
	    <font color="red">${flash.success}</font>
	    </td>
	   </tr>
     #{/if}
       #{list items:informations,as:'information'}
         <tr>
           <td>${information.infTit}</td>
           <td>${information.infCode}</td>
           <td>${information.programa?.proName}</td>
           <td>${information.managers?.manName}</td>
           <td>${information.infTime}</td>
           <td><a href="@{delete(information.id)}">删除</a>&nbsp;<a href="@{show(information.id)}">修改</a></td>
         </tr>
       #{/list}
     </table>
    </div>
    <div id="crudListPagination">
    </div>

    <p id="crudListAdd">
        <a href="@{blank()}">添加</a>
    </p>

</div>
